import request from '@/utils/request.js'
const PATH = '/user/remark'

// 新增评论
export const insertRemark = (data) => {
  return request.post(PATH + '/insert', data)
}

// 分页查询评论列表
export const getRemarkList = ({ page, pageSize, type, courseId }) => {
  return request.get(PATH + '/pageQueryRemark', {
    params: {
      page,
      pageSize,
      type,
      courseId
    }
  })
}
